package com.zhouxiaoge.解释器模式;

import java.util.Map;

/**
 * @author 周小哥
 * @date 2021年09月30日 18点22分
 */
public class OperatorExpression extends Expression{
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    private String operator;

    public OperatorExpression(String operator) {
        this.operator = operator;
    }

    @Override
    public int interpreter(Map<String, Integer> value) {
        return 0;
    }
}
